﻿using System;
using System.Collections.Generic;
using System.Data.Entity.ModelConfiguration;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Himall.Entity.Config
{
   public class WXSmallChoiceProductsInfoConfig : EntityTypeConfiguration<WXSmallChoiceProductsInfo>
    {
        public WXSmallChoiceProductsInfoConfig()
        {
            ToTable("Himall_WXSmallChoiceProducts");
            HasRequired(x => x.WXSmallProgramInfo).WithMany(x => x.WXSmallChoiceProductsInfo).HasForeignKey(x => x.SPId);
        }
    }
}
